import React, { Component } from 'react'
import { moneyContext } from '../context'
export default class GrandSon extends Component {
  //static  静态属性
  static contextType = moneyContext
  render () {
    return (
      <div>
        {this.context}
      </div>
    )
  }
}
